package com.wzh.glsc.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wzh.common.utils.PageUtils;
import com.wzh.glsc.ware.entity.PurchaseDetailEntity;
import com.wzh.glsc.ware.entity.WareSkuEntity;
import com.wzh.glsc.ware.to.SkuHasStockTo;

import java.util.List;
import java.util.Map;

/**
 * 商品库存
 *
 * @author lcm
 * @email 1291529969@gmail.com
 * @date 2022-03-18 19:43:14
 */
public interface WareSkuService extends IService<WareSkuEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveWareSkuByPurchaseDetailEntity(PurchaseDetailEntity savePurchaseDetailEntity);

    List<SkuHasStockTo> hasStock(List<Long> skuIdList);
}

